use "$path\datasets\rd_dataset.dta", clear

sort gkz jahr
merge m:1 gkz jahr  using "$path/datasets/minutes_data.dta"
keep if _merge==3


local depvar "women_topic_bup"

rdd_plot  `depvar', includedbw(0.15)  control(margin_1) binsize(0.01)  bw(0.10) title("Attendance rates of female councilors") xtitle("Female candidate margin of victory (%)")

graph export Figure5/figure5b.pdf, replace

